let option = {
  tooltip: {
    trigger: "axis",
    // hover下显示虚线
    axisPointer: {
      type: "cross",
      crossStyle: {
        color: "#999"
      }
    }
  },
  grid: {
    left: "1%",
    right: "1%",
    top: "8%",
    bottom: "15%",
    containLabel: true
  },
  // 重置图标大小
  legend: {
    itemWidth: 10,
    itemHeight: 10,
    bottom: 0,
    data: []
  },
  xAxis: [
    {
      type: "category",
      data: [],
      axisPointer: {
        type: "shadow"
      },
      axisLine: {
        show: false
      },
      axisTick: {
        show: false
      },
      axisLabel: {
        interval: 0
      }
    }
  ],
  // y轴根据data数据显示，开启折线图时自动开启双y轴
  yAxis: [],
  // 显示数据默认拼接
  series: []
};

export default option;
